package czStvDpds.collisionGeometry;

/**
 * Kruhový hitbox.
 * 
 * @author Jirka
 */
public class CircleHitBox {
    
    /**
     * Střed kruhu
     */
    private double x, y;

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }
    
    /**
     * Poloměr kruhu
     */
    private double r;

    public double getR() {
        return r;
    }

    public void setR(double r) {
        this.r = r;
    }
    
    public CircleHitBox(double x, double y, double r) {
        this.x = x;
        this.y = y;
        this.r = r;
    }
}
